<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: HP
  Date: 2020-07-28
  Time: 11:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>商品详情</title>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>管理员中心</title>
        <link rel="stylesheet" type="text/css" href="css/common.css"/>
        <link rel="stylesheet" type="text/css" href="css/main.css"/>
        <script type="text/javascript" src="js/libs/modernizr.min.js"></script>
    </head>
<body>
<div class="topbar-wrap white">
    <!--<div class="topbar-inner clearfix">-->
    <div class="topbar-logo-wrap clearfix">
        <h1 class="topbar-logo none">
            <a href="index.html" class="navbar-brand">管理员中心</a>
        </h1>
    </div>
</div>
</div>
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>菜单</h1>
        </div>
        <div class="sidebar-content">
            <ul class="sidebar-list">
                <li><a href="#"><i class="icon-font">&#xe003;</i>图书管理</a>
                    <ul class="sub-menu">
                        <li><a href="p_list.html"><i class="icon-font">&#xe008;</i>图书列表</a></li>
                    </ul></li>
            </ul>
        </div>
    </div>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="#" color="#white">图书信息</a><span class="crumb-step"></span><span class="crumb-name"></span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                    <table class="insert-tab" width="100%">
                        <tbody>
                        <tr>
                            <th><i class="require-red">*</i>书名：</th>
                            <td>
                                ${bookInfo.bookName}
                            </td>
                            <td rowspan="6"><img src="images/book_img/${bookInfo.imgUrl}"></td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>价格：</th>
                            <td>
                                ￥${bookInfo.price}
                            </td>
                        </tr>
                        <tr>
                            <th width="120"><i class="require-red">*</i>类型：</th>
                            <td>
                                ${typeName.typeName}
                            </td>
                        </tr>
                        <tr>
                            <th><i class="require-red">*</i>出版时间：</th>
                            <td>
                                ${bookInfo.bornDate}
                            </td>
                        </tr>
                        <tr>
                            <th>状态：</th>
                            <td>${bookInfo.state==1?"已审核":"未审核"}</td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <input class="btn btn-primary btn6 mr10" value="添加到购物车" onclick="location.href='shoppingCart?id=${bookInfo.id}'"  type="button">
                                <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                            </td>
                        </tr>
                        </tbody>
                    </table>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>
